package com.link.base.base.stocksellstorage.service;

import com.link.base.base.stocksellstorage.model.StorageProd;
import com.link.core.basic.service.BasicService;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 */
public interface StorageProdService extends BasicService<StorageProd> {
    /**
     * 根据盘点头Id查询相关的库存产品
     *
     * @param entity
     * @return List StorageProd
     * @throws Exception
     */
    public List<StorageProd> queryStorageProdsByStockId(StorageProd entity) throws Exception;

    /**
     * 记录计数：根据盘点头Id查询相关的库存产品
     *
     * @param entity
     * @return int
     * @throws Exception
     */
    public int countStorageProdsByStockId(StorageProd entity) throws Exception;
}
